package cn.tyf.domain;

import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;

public class User implements Serializable {
    @ExcelProperty("用户id")
    private Integer id;
    @ExcelProperty("卡号")
    private String rid;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("姓名")
    private String gender;
    @ExcelProperty("密码")
    private String password;
    @ExcelProperty("状态")
    private Integer flag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", rid='" + rid + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", password='" + password + '\'' +
                ", flag='" + flag + '\'' +
                '}';
    }
}
